The TextField Component >Properties > borderType

 

FTextField.borderType

Availability

Flash Player 6.

Usage

myTextField_txf.borderType = type

 

Description

This property specifies the type of border which will be displayed around the text field. Valid values are:

normal

A 2D box will be displayed around the text field.

bevel

A 3D beveled box will be displayed around the text field.

 

Example

The text_simple_example.fla example file contains an example of using this method.

The following code sets the borderType to bevel and sets the bevelColor.

myTextField_txf.borderType="bevel";
myTextField_txf.borderColor=0xFFFFFF;
myTextField_txf.border = true;

See also

FTextField.borderColor

FTextField.border